package com.hotmocha.springboot;

/**
 * Hello world!
 *
 */
import java.util.Map;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@EnableAutoConfiguration  
public class CopyOfApp 
{
    @RequestMapping("/hh")
    String home(Map<String, Object> model) {
    	model.put("toUserName", "aaaaaaa");
        return "hello";
    }
}
